/**
 * 移除一个选项卡
*/
export default function removeTab(tabIds: number): Promise<string> {
    return new Promise(res => {
        chrome.tabs.remove(tabIds, function () {
            res('The tabs has been closed.');
        });
    })
}